﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdministracionAplicacionesTab.aspx.cs" Inherits="BMSeguridad_AdministracionAplicacionesTab"
    Title="AdministracionAplicacionesTab" MasterPageFile="~/MasterPage.master" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="content" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
		
            <h1>Gesti&oacute;n de Aplicaci&oacute;n</h1>
    <asp:ScriptManager id="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br />
<TABLE width=550 align=center><TBODY align=center><TR><TD align=center><cc1:TabContainer id="tbcAplicacion" runat="server" ActiveTabIndex="0"><cc1:TabPanel runat="server" ID="TabPanel1" HeaderText="TabPanel1"><ContentTemplate>

<TABLE class="tablaForm" width="100%"><TBODY><TR><TD class="tdForm" align=left colSpan=2><asp:Label id="lblAplicacionAccion" runat="server" CssClass="lblAccion"></asp:Label></TD></TR><TR><TD style="WIDTH: 20%; HEIGHT: 20px" class="tdForm" align=right>C&oacute;digo</TD><TD style="WIDTH: 80%; HEIGHT: 20px" class="tdForm" align=left><asp:Label id="lblIdAplicacionAplicacion" runat="server"></asp:Label></TD></TR><TR><TD style="WIDTH: 20%; HEIGHT: 20px" class="tdForm" align=right>Aplicaci&oacute;n</TD><TD style="WIDTH: 80%; HEIGHT: 20px" class="tdForm" align=left><asp:TextBox id="txtAplicacionAplicacion" runat="server" Width="90%" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator id="reqAplicacion" runat="server" ControlToValidate="txtAplicacionAplicacion" ValidationGroup="Actualizar" ErrorMessage="RequiredFieldValidator">(*)</asp:RequiredFieldValidator></TD></TR><TR><TD style="WIDTH: 20%; HEIGHT: 20px" class="tdForm" align=right>Descripci&oacute;n</TD><TD style="WIDTH: 80%; HEIGHT: 20px" class="tdForm" align=left><asp:TextBox id="txtDescripcionAplicacion" runat="server" Width="90%" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator id="reqDescripcion" runat="server" ControlToValidate="txtDescripcionAplicacion" ValidationGroup="Actualizar" ErrorMessage="RequiredFieldValidator">(*)</asp:RequiredFieldValidator></TD></TR><TR><TD style="WIDTH: 20%; HEIGHT: 20px" class="tdForm" align=right>Modo Autenticaci&oacute;n</TD><TD style="WIDTH: 80%; HEIGHT: 20px" class="tdForm" align=left><asp:DropDownList id="ddlModo" runat="server" Width="30%"><asp:ListItem>AD</asp:ListItem>
<asp:ListItem>SQL</asp:ListItem>
</asp:DropDownList></TD></TR><TR><TD style="WIDTH: 100%" class="tdBotones" colSpan=2><asp:Button id="btnGuardarAplicacion" onclick="btnGuardarAplicacion_Click" runat="server" Width="75px" Text="Guardar" ValidationGroup="Actualizar"></asp:Button> <asp:Button id="btnCancelarAplicacion" onclick="btnCancelarAplicacion_Click" runat="server" Width="75px" Text="Cancelar"></asp:Button></TD></TR></TBODY></TABLE>
</ContentTemplate>

<HeaderTemplate>
Aplicaci&oacute;n
</HeaderTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server" ID="TabPanel2" HeaderText="TabPanel2"><ContentTemplate>

<TABLE style="WIDTH: 100%"><TBODY><TR><TD style="WIDTH: 100%; BACKGROUND-COLOR: #eeeeee" align=center><TABLE style="WIDTH: 100%" id="TABLE2" onclick="return TABLE2_onclick()"><TBODY><TR><TD style="WIDTH: 100%" class="tdTit">Roles </TD></TR></TBODY></TABLE><TABLE style="WIDTH: 100%" id="TABLE1" onclick="return TABLE1_onclick()"><TBODY><TR style="WIDTH: 100%"><TD style="BACKGROUND-COLOR: #eeeeee" align=center colSpan=3>Aplicaci&oacute;n: &nbsp;<asp:Label id="txtAplicacionRoles" runat="server" CssClass="cuadroTxt" ReadOnly="True"></asp:Label> </TD></TR><TR style="WIDTH: 100%"><TD style="HEIGHT: 14px; BACKGROUND-COLOR: #eeeeee" align=center colSpan=3>Roles Asignados</TD></TR></TBODY></TABLE><TABLE style="WIDTH: 100%"><TBODY><TR style="WIDTH: 100%"><TD style="HEIGHT: 14px; BACKGROUND-COLOR: #eeeeee" align=center colSpan=3><asp:GridView id="dgRoles" runat="server" BorderWidth="1px" BackColor="White" Width="100%" OnPageIndexChanging="dgRoles_PageIndexChanging" CellPadding="3" AllowPaging="True" PageSize="5" AutoGenerateColumns="False" DataKeyNames="Id_Rol" BorderColor="#999999" BorderStyle="None" GridLines="Vertical" OnRowDeleting="dgRoles_RowDeleting">
<FooterStyle BackColor="#CCCCCC" ForeColor="Black"></FooterStyle>
<Columns>
<asp:TemplateField HeaderText="Id Rol">
<HeaderStyle ForeColor="White"></HeaderStyle>
<ItemTemplate>
<asp:Label id="Id_Rol" runat="server" Text='<%# Bind("Id_Rol") %>'></asp:Label> 
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Rol">
<HeaderStyle ForeColor="White"></HeaderStyle>
<ItemTemplate>
<asp:Label id="Nombre_Rol" runat="server" Text='<%# Bind("Nombre_Rol") %>'></asp:Label> 
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField ReadOnly="True" DataField="Descripcion_Rol" SortExpression="Descripcion_Rol" HeaderText="Descripci&#243;n">
<HeaderStyle ForeColor="White"></HeaderStyle>
</asp:BoundField>
<asp:CommandField ShowDeleteButton="True" DeleteText="Eliminar">
<HeaderStyle ForeColor="White"></HeaderStyle>
</asp:CommandField>
</Columns>

<RowStyle BackColor="#EEEEEE" ForeColor="Black"></RowStyle>

<SelectedRowStyle BackColor="#008A8C" ForeColor="White" Font-Bold="True"></SelectedRowStyle>

<PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center"></PagerStyle>

<HeaderStyle BackColor="#325FB9" ForeColor="White" Font-Names="Arial Rounded MT Bold" Font-Bold="True"></HeaderStyle>

<AlternatingRowStyle BackColor="Gainsboro"></AlternatingRowStyle>
</asp:GridView> &nbsp;</TD></TR></TBODY></TABLE><TABLE style="WIDTH: 100%"><TBODY><TR style="WIDTH: 100%"><TD class="tdBotones" align=center colSpan=2><asp:Button id="btnNuevoRol" onclick="btnNuevo_Rol" runat="server" Width="75px" Text="Nuevo"></asp:Button>&nbsp;<asp:Button id="btnCancelarRoles" onclick="btnCancelarRoles_Click" runat="server" Width="75px" Text="Volver"></asp:Button></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</ContentTemplate>

<HeaderTemplate>
Roles&nbsp; 
</HeaderTemplate>
</cc1:TabPanel>
</cc1:TabContainer> </TD></TR></TBODY></TABLE><BR /><BR />

                   
                
        
        
            
  
</asp:Content>
